<template>
  <div class="header">
    <div class="header-top clearfix">
      <div class="header-top-left clearfix">
         <router-link to="/" class="logo" tag="div">
           <img src="../../images/logo.png" alt="">
         </router-link>
      </div>
      <div class="header-top-right">
        <img src="../../images/appDownload.png" alt="">
      </div>
    </div>
    <div class="header-search">
      <button>搜索</button>
      <input type="text" placeholder="请输入想比价的内容">
    </div>
  </div>
</template>
<script>
export default {
  
}
</script>
<style lang="less" scoped>
  @import '../../less/var';
  .header {
    margin-bottom: 10px;
    .header-top{
      height: 98/@base;
      background-color: #ff841d;
      .header-top-left {
        float: left;
        .logo {
          width: 413/@base;
          height: 50/@base;
          margin-top: 20/@base;
          img {
            width: 100%;
          }
        }
      }
      .header-top-right {
        float: right;
        height: 74/@base;
        width: 70/@base;
        margin: 14/@base;
        img {
          width: 100%;
        }
      }
    }
    .header-search {
      height: 98/@base;
      padding: 12/@base;
      background-color: #fff;
      padding-left: 16/@base;
      padding-right: 140/@base;
      position: relative;
      input {
        display: block;
        float: left;
        // width: 580/@base;
        height: 60/@base;
        border-radius: 30/@base;
        margin-top: 5/@base;
        margin-bottom: 0;
        font-size: 14px;
        background-color: #f1f1f1;
        overflow: hidden;
        // width: unset;
        
      }
      button {
        width: 130/@base;
        // float: right;
        position: absolute;
        right: 0;
        text-align: center;
        margin-left: 12/@base;
        height: 60/@base;
        border-radius: 30/@base;
        background-color: #ff841d;
        line-height: 1.2;
        margin-top: 5/@base;
        color: #fff;
      }
    }
  }
</style>

